<?php
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//
// DLMan by Shedd Technologies International		  				//
// http://www.dlman.com | info@dlman.com							//
// Copyright 2003 by STI, All rights reserved.						//
// ---------------------------------------------------------------- //
// Usage of this software is governed by the terms of GPL. 	    	//
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//

/*
///////////////////////////////////////////////////////////////////
	UNIVERSAL INTEGRATION SYSTEM
	Concept & Code Copyright 2002, Shedd Technologies Internationa
	http://www.sheddtech.com; info@sheddtech.com
	--------------------------------------------------------------
	UIS is released under the DLMan EULA.
	Distribution is not allowed.
	**DO NOT REMOVE THIS COMMENT!**
///////////////////////////////////////////////////////////////////
*/
/*
UIS Standardized Version: 1.1
UIS Forum Model: vBulletin 3.0.0

Class UIS [UNIVERSAL INTEGRATION SYSTEM]
The intention of this class is to provide an easy way to develop
cross-forum integrated solutions.  By using the member elements of
this class, developers can create solutions which can be adapted 
to any forum schema created by simply altering the data which UIS
uses.

For complete class documentation, please see
http://scripts.sheddtech.com/uis/
*/
class UIS{
	var $table 	= array();//store the names of relevant tables
	var $field	= array();//store the names of relevant fields
	var $password;//store the password algorithm
	var $values = array();//store the admin value for usergroupid
	var $version;//store the UIS Forum Version Information
	
	//constructor
	function UIS(){
		global $mysql;
		$this->version					= "vBulletin 3.0.0";
		
		//store table name
		$this->table['user']			= "user";
		
		//store field names
		$this->field['email']			= "email";
		$this->field['userid']			= "userid";
		$this->field['username']		= "username";
		$this->field['password']		= "password";
		$this->field['usergroupid']		= "usergroupid";
		$this->field['joindate']		= "joindate";
		$this->field['lastactivity']	= "lastactivity";
		$this->field['salt']			= "salt";
		
		//registration page
		$this->page['registration']		= "register.php";
		
		//set password algorithm
		$this->password					= "md5_salt";
		//set admin value for usergroupid
		$this->values['admin']			= "6";
		$this->values['normuser']		= "2";
	}
}//end UIS class
?>
